package bookstore.database.pojo;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Message entity. @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private BigDecimal messId;
	private Customer customer;
	private Timestamp addedDate;
	private BigDecimal status;
	private String content;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** minimal constructor */
	public Message(BigDecimal messId, Customer customer, Timestamp addedDate,
			BigDecimal status) {
		this.messId = messId;
		this.customer = customer;
		this.addedDate = addedDate;
		this.status = status;
	}

	/** full constructor */
	public Message(BigDecimal messId, Customer customer, Timestamp addedDate,
			BigDecimal status, String content) {
		this.messId = messId;
		this.customer = customer;
		this.addedDate = addedDate;
		this.status = status;
		this.content = content;
	}

	// Property accessors

	public BigDecimal getMessId() {
		return this.messId;
	}

	public void setMessId(BigDecimal messId) {
		this.messId = messId;
	}

	public Customer getCustomer() {
		return this.customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public Timestamp getAddedDate() {
		return this.addedDate;
	}

	public void setAddedDate(Timestamp addedDate) {
		this.addedDate = addedDate;
	}

	public BigDecimal getStatus() {
		return this.status;
	}

	public void setStatus(BigDecimal status) {
		this.status = status;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}